#include<bits/stdc++.h>
using namespace std;
int n,a[10005],f[10005];
int ma=0,sum=0;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++){
        cin>>a[i];
        f[a[i]]++;
        ma=max(ma,a[i]);
    }
    for(int i=1;i<=ma;i++){
        sum=max(sum,f[i]);
    }
    cout<<sum;
    return 0;
}
